<?php
/**
 * Template Name: FAQ template
 */
?><?php get_header(); ?>

<?php get_sidebar(); ?>

<div id="col3">
	<div class="clearfix" id="col3_content">          
		<div id="main_content">
			<div id="main_content_foot">
				<div class="componentheading_faq"></div>
				<div id="contentpane_faqs">
					<?php query_posts( array ( 'category_name' => 'FAQs', 'posts_per_page' => -1 ) ); ?>
						<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
							<div class="contentpane_faq">
								<span class="title"><?php the_title(); ?></span>
								<?php
									the_excerpt();
								?>
								<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
								<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?>
							</div><!-- contentpane_faq -->
						<?php endwhile; // end of the loop. ?>
				</div><!-- #contentpane_faqs -->
			</div><!-- #main_content_foot -->					
		</div><!-- #main_content -->

		
<?php get_footer(); ?>			